package spring01;

import lombok.Data;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;


import java.util.List;

@Data
@Component
public class Klass {

    List<Student> students;

    public void dong(){
        System.out.println(this.getStudents());
    }

}

